#pragma once
#include<string>
#include<Windows.h>
#include<gdiplus.h>
#include"type.h"
using namespace sr;
class Texture
{
	Color* buffer=nullptr;
	int _w=0, _h=0;
public:
	Color sample(float u, float v);
	void loadBitmap(std::wstring);
};
class Material
{
	Texture _texture;
public:
	void setTexture(std::wstring);
};

